using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for HangXeBL
/// </summary>
namespace BusinessLogic 
{
    public class HangXeBL 
    {
    	#region Private Variables
		HangXeDAL objHangXeDAL;
		#endregion
		
        #region Public Constructors
        public HangXeBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objHangXeDAL=new HangXeDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(HangXe objHangXe)
        {
            return objHangXeDAL.Insert(objHangXe);
        }

        public int Update(HangXe objHangXe)
        {
             return objHangXeDAL.Update(objHangXe);

        }

        public int Delete(HangXe objHangXe)
        {
             return objHangXeDAL.Delete(objHangXe);

        }

         public int DeleteAll()
        {
             return objHangXeDAL.DeleteAll();
        }

        public HangXe Select(HangXe objHangXe)
        {
            return objHangXeDAL.Select(objHangXe);
        }

        public ArrayList SelectAllToArray( )
        {
            return objHangXeDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objHangXeDAL.SelectAll();
        }


     
#endregion          
    
    }

}
